          _____  __    ___  __    __           _
         |___ / / /_  / _ \/ / /\ \ \___  _ __| | _____
           |_ \| '_ \| | | \ \/  \/ / _ \| '__| |/ / __|
          ___) | (_) | |_| |\  /\  / (_) | |  |   <\__ \
         |____/ \___/ \___/  \/  \/ \___/|_|  |_|\_\___/

==================Linux Installation Instructions==================

Welcome to the 360Works MirrorSync Linux installer! This document will
guide you through the process of installing MirrorSync on your
Linux server.

Pre-Installation Requirements:
------------------------------

1. An Ubuntu 22.04 or 24.04 system with either x86_64 or aarch64
architecture (Note: FileMaker only supports aarch64 on Ubuntu 22.04)

2. FileMaker Server installed on the Ubuntu server

3. A local SSH client (such as Terminal on macOS or PuTTY on Windows)


Installation Instructions
------------------------------------------

    a. SSH into your Linux server (remote_user is usually 'ubuntu')
           ssh <remote_user>@<remote_host>

    b. Install required packages
           sudo apt update
           sudo apt install unzip

    c. Download the installer (download_url can be found in the email receipt from 360Works)
           wget "<download_url>" -O MirrorSync.zip

    d. Unzip the downloaded file
           unzip MirrorSync.zip

    e. Change directories to the unzipped folder
           cd <unzipped_folder>

    f. Run the installer script
           sudo ./LinuxInstaller.sh

The installer will automatically download and install Java 25, set up
the MirrorSync service, and configure FileMaker Server integration.
This may take a few minutes depending on your internet connection.

NOTE: If you were using a version of MirrorSync previous to 7.1, and it was the only 360Works application
running, this installer will stop and disable Tomcat 9. If you need Tomcat 9, you can start it again with the command:

sudo systemctl enable --now tomcat9

Sync Data will persist between updates. 

If you have installed a Tomcat 11 instance (MirrorSync 7.1 or later), do not run an installer that uses Tomcat 9 (older than MirrorSync 7.1). 
Please contact 360works Support at support@360works.com with any questions.

